
import {post,get,del,put,postById} from "@/api/http";

export const dirUsersList = (data) =>
  post("/User/GetAllToPage", data);

export const dirUsersDelete = (id) =>
  del("/User/DelById", {id});


export const dirUsersCreate = (data) =>
  post("/User/Post", data);

export const dirUsersUpdate = (data) =>
  put("/User/Put", data);

export const dirUsersReset = (data) =>
  postById("/User/Reset", data);
